﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using ARR.Entities;

namespace ARR.UI.Models
{
    public interface IUnifiedImporterModel : IModelBase
    {
        List<ImporterResult> Results { get; set; }
        
        RangeReview RangeReview { get; set; }
    }


    public class UnifiedImporterModel : ModelBase, IUnifiedImporterModel
    {
        public UnifiedImporterModel()
        {
            this.Results = new List<ImporterResult>();

            this.RangeReview = WorkspaceData.Instance.RangeReview;
        }

        public List<ImporterResult> Results { get; set; }

        public RangeReview RangeReview { get; set; }

    }


    public class UnifiedImporterModelMock : MockModelBase, IUnifiedImporterModel
    {
        public UnifiedImporterModelMock()
        {
            this.Results = new List<ImporterResult>();

            RangeReview = new RangeReview
            {
                Title = "Range Review 1",
                CountryId = 23,
                FirstMonth = new DateTime(2010, 05, 1),
                TotalMonths = 12,
                TargetCurrencyId = 5
            };
        }


        public List<ImporterResult> Results { get; set; }
        
        public RangeReview RangeReview { get; set; }

    }

}
